package com.ruoyi.ui.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 拼单商品管理对象 ui_list_product
 * 
 * @author ruoyi
 * @date 2022-09-06
 */
public class UiListProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 拼单商品id */
    private Long listproId;

    /** 店铺id */
    @Excel(name = "店铺id")
    private Long shopId;

    /** 店铺名称 */
    @Excel(name = "店铺名称")
    private String shopName;


    /** 分类id */
    @Excel(name = "分类id")
    private Long categoryId;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String categoryName;


    /** 1 ：拼单商品 */
    @Excel(name = "1 ：拼单商品")
    private Integer listproType;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String listproName;

    /** 原价 */
    @Excel(name = "原价")
    private BigDecimal listproPrice;

    /** 配送方式 1:商家配送 2：用户自提 */
    @Excel(name = "配送方式 1:商家配送 2：用户自提")
    private Integer deliveryType;

    /** 现价 */
    @Excel(name = "现价")
    private BigDecimal listproReprice;

    /** 描述 */
    @Excel(name = "描述")
    private String listproTitle;

    /** 库存 */
    @Excel(name = "库存")
    private Long listproStock;

    /** 总数 */
    @Excel(name = "总数")
    private Long listproNum;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String listproImg;

    /** 状态 0下架 1上架  默认上架 */
    @Excel(name = "状态 0下架 1上架  默认上架")
    private Integer state;


    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public void setListproId(Long listproId) 
    {
        this.listproId = listproId;
    }

    public Long getListproId() 
    {
        return listproId;
    }
    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }
    public void setListproType(Integer listproType) 
    {
        this.listproType = listproType;
    }

    public Integer getListproType() 
    {
        return listproType;
    }
    public void setListproName(String listproName) 
    {
        this.listproName = listproName;
    }

    public String getListproName() 
    {
        return listproName;
    }
    public void setListproPrice(BigDecimal listproPrice) 
    {
        this.listproPrice = listproPrice;
    }

    public BigDecimal getListproPrice() 
    {
        return listproPrice;
    }
    public void setDeliveryType(Integer deliveryType)
    {
        this.deliveryType = deliveryType;
    }

    public Integer getDeliveryType()
    {
        return deliveryType;
    }
    public void setListproReprice(BigDecimal listproReprice) 
    {
        this.listproReprice = listproReprice;
    }

    public BigDecimal getListproReprice() 
    {
        return listproReprice;
    }
    public void setListproTitle(String listproTitle) 
    {
        this.listproTitle = listproTitle;
    }

    public String getListproTitle() 
    {
        return listproTitle;
    }
    public void setListproStock(Long listproStock) 
    {
        this.listproStock = listproStock;
    }

    public Long getListproStock() 
    {
        return listproStock;
    }
    public void setListproNum(Long listproNum) 
    {
        this.listproNum = listproNum;
    }

    public Long getListproNum() 
    {
        return listproNum;
    }
    public void setListproImg(String listproImg) 
    {
        this.listproImg = listproImg;
    }

    public String getListproImg() 
    {
        return listproImg;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("listproId", getListproId())
            .append("shopId", getShopId())
            .append("categoryId", getCategoryId())
            .append("listproType", getListproType())
            .append("listproName", getListproName())
            .append("listproPrice", getListproPrice())
            .append("deliveryType", getDeliveryType())
            .append("listproReprice", getListproReprice())
            .append("listproTitle", getListproTitle())
            .append("listproStock", getListproStock())
            .append("listproNum", getListproNum())
            .append("listproImg", getListproImg())
            .append("state", getState())
                .append("shopName", getShopName())
                .append("categoryName", getCategoryName())
            .toString();
    }
}
